﻿<!DOCTYPE html>
<html lang="en">
<head>

    <meta charset="UTF-8"><title>仓储系统--供应商管理</title>
<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
    <link rel="stylesheet" href="css/base.css">
    <link rel="stylesheet" href="css/zhanqu.css">
    <link rel="stylesheet" href="css/gys.css">
    <script src="js/base.js"></script>
  <!--  <link rel="stylesheet" href="css/book2.css">-->


</head>
<body>
<div class="all">
    <script src="js/top.js"></script>
    <div class="cnt">
        <script src="js/nav.js"></script>
        <script>
            setColor(3)
        </script>
        <div class="main">
            <div class="main_top">
                <h3>供应商管理</h3>
                <div class="search" id="search_div">
                    <input id="stitle" placeholder="供应商名称/供应商编码" />
                    <img id="search_btn"
                         onclick="search()"
                         width="16" src="images/search.png" />
                </div>
                <div class="btn" id="exi_btn" style="display:none"
                     onclick="GotoURL()">复 位</div>
                <div class="btn" id="add_btn"
                     onclick="add()">新增供应商</div>
                <div class="btn" id="adds_btn" style="display:none"
                     onclick="adds()">新增供应商</div>
                <div class="btn" id="return_btn" style="display:none"
                     onclick="returnMain()">返回</div>
                <div class="btn" id="ret" style="display:none"
                     onclick="returnMains()">返回</div>
                <div class="btn" id="save_btn" style="display:none"
                     onclick="save()">保存</div>
                <div class="btn" id="saves_btn" style="display:none"
                     onclick="saves()">保存</div>

            </div>
            <div id="loading" style="text-align: center;height:300px;line-height: 300px">
                <img src="images/1.png" />
            
            </div>
            <div id="list_div"></div>
            <div id="page_div">
                <div class="page_btn" onclick="first_page()">首页</div>
                <div class="page_btn" onclick="pre_page()">上一页</div>

                <div class="page_btn"><span id="current_page"></span>/<span id="total_page"></span></div>

                <div class="page_btn" onclick="next_page()">下一页</div>
                <div class="page_btn" onclick="last_page()">尾页</div>
                <div class="page_btn"><input id="input_page" /></div>
                <div class="page_btn" onclick="to_page()">跳转</div>
            </div>

            <div id="add_div" style="display:none;">
               <table>
                <tr class="input_div">
                    <td><span style="color:red">*</span></td>
                    <td align="left">供应商名称:</td>
                    <td><input id="zname"  /><br />
                        <div id="zname_error" style="color:red"></div>
                    </td>
                </tr>
                <tr class="input_div">
                    <td><span style="color:red">*</span></td>
                    <td align="left">供应商编码:</td>
                    <td><input id="code"  /><br />
                        <div id="code_error" style="color:red"></div>
                    </td>
                </tr>
                <tr class="input_div">
                    <td></td>
                    <td align="left">负责人名称:</td>
                    <td><input id="admin_name"  /></td>
                </tr>
                <tr class="input_div">
                    <td></td>
                    <td align="left">负责人联系方式:</td>
                    <td><input id="admin_tel"  /></td>
                </tr>
                <tr class="input_div">
                    <td></td>
                    <td align="left">供应商类型:</td>
                    <td> <select id="admin_type">
                        <option value="厂家">厂家</option>
                        <option value="外部">外部</option>
                    </select>
                    </td>
                </tr>
                <tr class="input_div">
                    <td></td>
                    <td align="left">状态:</td>
                    <td><select id="admin_status">
                        <option value="启用">启用</option>
                        <option value="禁用">禁用</option>
                    </select>
                    </td>
                </tr>
               </table>
            </div>
        </div>
    </div>
    <div class="bot">
        Copyright © 2022-2023 XINLING. All Rights Reserved.
    </div>
</div>

<script src="js/gys.js"></script>
</body>
</html>
